#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#     Filename @  maxline.py
#       Author @  Huoty
#  Create date @  2015-10-21 14:09:06
#  Description @  
# *************************************************************



# Script starts from here

f = open("/etc/hosts", "r")
#allLineLens = [ len(x.strip()) for x in f ]
allLineLens = (len(x.strip() for x in f))
f.close()
print  max(allLineLens)
